home *** CD-ROM | disk | FTP | other *** search
/ Amiga Collections: Amiga Amateur Radio User Group / AARUG UK #81 (199x)(Amiga Amateur Radio User Group UK)(PD)[WB][G4DCV].zip / AARUG UK #81 (199x)(Amiga Amateur Radio User Group UK)(PD)[WB][G4DCV].adf / DisView / !CMDSET.TXT < prev    next >
Text File  |  1995-05-29  |  21KB  |  590 lines

  1. ===========                                        DISview [518]
  2. !CMDSET.TXT
  3. ===========
  4.  
  5. ===========================
  6. Command Set Reference Guide
  7. ===========================
  8. This file contains details of the syntax and parameters of all 
  9. of the commands to be found in Demon's KA9Q NET version 2.16, 
  10. contained in the DIS216C package.
  11.  
  12. Default parameters are shown in braces; e.g. {30}.
  13.  
  14.  
  15. -----------------------------------
  16. Network name and address parameters
  17. -----------------------------------
  18.  
  19.  
  20.        <hostname> -----------+          +------- <domain_name>
  21.                              |          |
  22.                           <------> <--------->
  23.   email_address ==>   ian@dowrmain.demon.co.uk
  24.                       <-> <------------------>
  25.                        |           |
  26.        <username> -----+           +------------- <nodename>
  27.                                    |
  28.                           <------------------>
  29.                           dowrmain.demon.co.uk.
  30.                           <------------------->
  31.                                    |
  32.        <fqdn> ---------------------+
  33.        (fully qualified domain name)
  34.  
  35.  
  36.  
  37. ________________________________________________________________
  38.  
  39.   ?                       (help: list of top-level NET commands)
  40.   !                                         (break out to shell)
  41.   #                                               (comment line)
  42.   F10                    (default escape to NET Session Manager)
  43. ________________________________________________________________
  44.  
  45.   abort       [<session_number>]                           (FTP)
  46.  
  47.   arp
  48.  
  49.   arp add     <nodename> ether|ax25|netrom|arcnet
  50.                                                <network_address>
  51.  
  52.   arp drop    <nodename> ether|ax25|netrom|arcnet
  53.   arp flush
  54.  
  55.   arp publish <nodename> ether|ax25|netrom|arcnet
  56.                                                <network_address>
  57.  
  58.   asystat
  59.  
  60.   at [ <yymmddhhmm> | <hhmm> | <mm> | now+<hhmm> <command> ]
  61.  
  62.   attach asy <ioaddress> <vector>[c] slip|ax25|nrs|ppp
  63.                               <interface> <rx_buffer_size> <mtu>
  64.                               <speed> [<flags>]
  65.  
  66.                               flags f: force 16650A
  67.                                     n: no TX flow control
  68.  
  69.   attach packet <vector> <interface> <buffers>
  70.                   <mtu> [<ip_address>]
  71.  
  72. ________________________________________________________________
  73.  
  74.   cd         [<directory>]
  75.  
  76.   close      [<session_number>]
  77.  
  78. ________________________________________________________________
  79.  
  80.   delete     <filename>
  81.  
  82.   detach     <interface>
  83.  
  84.   dialer     <interface> <dialer_filename>
  85.  
  86.   dialer     <interface> <dialer_filename> 
  87.                                 [<seconds>[<pings>[<nodename>]]]
  88.  
  89.   dialer     <interface> <dialer_filename> demand
  90.   dialer     <interface> <dialer_filename> failexit
  91.  
  92.          (use ESC RETURN to terminate dialing from the keyboard)
  93.  
  94.            Init Commands
  95.            -------------
  96.               dial_cmd "<string>"
  97.               init "<string>"
  98.               ld_code "<string>"
  99.               number "<string>"
  100.               retries <count>
  101.  
  102.            Dial Commands
  103.            -------------
  104.               control up|down
  105.               dial
  106.               init
  107.               send "<string>" [<milliseconds>]
  108.               speed <speed>
  109.               status up|down
  110.               wait <milliseconds> [ "<string>" [<speed>] ]
  111.            
  112.               cwait <milliseconds> [ "<success_string>"
  113.                    "<failure_string>" [, "<failure_string>" ...]
  114.                    [<speed>] ]
  115.  
  116.  
  117.   dir        [<directory>|<filename>]
  118.  
  119.   disconnect [<session_number>]
  120.  
  121.   domain addserver   <ip_address|nodename>
  122.  
  123.   domain cache clean [on|off]                              {off}
  124.   domain cache list
  125.   domain cache size  [<entries>]                           {100}
  126.   domain cache wait  [<seconds>]                           {300}
  127.  
  128.   domain dropserver  <ip_address|nodename>
  129.   domain list
  130.   domain maxwait     [<seconds>]                             {0}
  131.   domain query       <ip_address|nodename>
  132.   domain qtype       <ip_address|nodename> <type>          {255}
  133.                                               type: 255=TYPE_ANY
  134.                                                       1=TYPE_A 
  135.  
  136.   domain retry       [<n>]                                   {2}
  137.   domain startdns
  138.   domain stopdns
  139.   domain suffix      [<domain_name>]               {demon.co.uk}
  140.   domain trace       [on|off]                              {off}
  141.  
  142. ________________________________________________________________
  143.  
  144.   echo   [accept|refuse]                    (telnet)    {accept}
  145.   eol    [standard|null]                    (telnet)  {standard}
  146.  
  147.   escape [<literal_character>|<decimal_ASCII_code>]    {324=F10}
  148.  
  149.   exit
  150.  
  151. ________________________________________________________________
  152.  
  153.   finger [<finger_filename>]@<nodename>
  154.                   (N.B. no spaces either side of the "@" symbol)
  155.  
  156.   finger status@gate            (get Demon system status)
  157.   finger motd@gate              (get Demon Message-of-the-Day)
  158.   finger <myhostname>@post      (list waiting SMTP mail)
  159.   finger <nodename>@post        (get IP address of <nodename>)
  160.   finger <ip_address>@post      (get hostname of <ip_address>)
  161.  
  162.   fkey
  163.   fkey   <key_number> [<value>|"<string>"]    
  164.  
  165.     (in the string, use \n or ^M for RETURN)
  166.     (start string with '[command]' to return to net> prompt)
  167.  
  168.         NORMAL  SHIFT  CONTROL  ALT   |    Miscellaneous
  169.         ------  -----  -------  ---   |    -------------
  170.      F1   59     84      94     104   |    page up     73 
  171.      F2   60     85      95     105   |    page down   81 
  172.      F3   61     86      96     106   |    home        71 
  173.      F4   62     87      97     107   |    end         79 
  174.      F5   63     88      98     108   |    up arrow    72 
  175.      F6   64     89      99     109   |    down arrow  80 
  176.      F7   65     90     100     110   |    left arrow  75 
  177.      F8   66     91     101     111   |    right arrow 77 
  178.      F9   67     92     102     112   |    insert      82 
  179.      F10  68     93     103     113   |    delete      83 
  180.   
  181.       
  182.   ftp <nodename>
  183.  
  184.     ascii
  185.     batch   [on|off]
  186.     binary
  187.     cd      <remote_dir>
  188.     close
  189.     dir     [<remote_dir>|<remote_file> [<local_file>]]
  190.     get     <remote_file> [<local_file>]
  191.     hash                                           (= verbose 3)
  192.     help    [<ftp_command>]
  193.     list    [<remote_dir>|<remote_file> [<local_file>]]
  194.     ls      [<remote_dir>|<remote_file> [<local_file>]]
  195.     mget    <remote_file> [<remote_file> ...]
  196.     mkdir   <remote_dir>
  197.     mput    <local_file>  [<local_file> ...]
  198.     nlst    [<remote_dir>|<remote_file> [<local_file>]]
  199.     open    <nodename>
  200.     pager   [on|off]
  201.     put     <local_file>  [<remote_file>]
  202.     quit
  203.     rmdir   <remote_dir>
  204.     source  <local_ftp_script_filename>
  205.     type    [a | i | l <bytesize> ]                          {a}
  206.     verbose [<n>]                                            {2}
  207.                                                 n=0: errors only
  208.                                                   1: + summary
  209.                                                   2: + progress
  210.                                                   3: + hash
  211.     view    <remote_file>
  212.  
  213.   ftpopt    ascii|binary|hash
  214.   ftpopt    pager [on|off]
  215.   ftpopt    type  ascii | binary | logical <byte_size>
  216.   ftpopt    verbose <n>                        (see above for n)
  217.   ftpopt    wrap <cols>                         cols=0: wrap off
  218.  
  219.   F10                    (default escape to NET Session Manager)
  220. ________________________________________________________________
  221.  
  222.   help (or ?)                   (list of top-level NET commands)
  223.  
  224.   hop check   <nodename>
  225.   hop maxttl  [<hops>]                                      {30}
  226.   hop maxwait [<seconds>]                                    {5}
  227.   hop queries [<count>]                                      {3}
  228.   hop trace   [on|off]                                     {off}
  229.  
  230.   hostname    [<nodename>]
  231.  
  232. ________________________________________________________________
  233.  
  234.   icmp echo   [on|off]      (must be on for one-shot ping)  {on}
  235.   icmp status
  236.   icmp trace  [on|off]      (turn off for hop check)       {off}
  237.  
  238.   ifconfig
  239.   ifconfig <interface>
  240.   ifconfig <interface> broadcast     <broadcast_ip_address>
  241.  
  242.   ifconfig <interface> encapsulation 
  243.                            none|ax25|encap|ether|slip|netrom|ppp
  244.  
  245.   ifconfig <interface> forward       <fwd_interface>
  246.   ifconfig <interface> ip_address    <ip_address>
  247.   ifconfig <interface> linkaddress   <ether_addr>
  248.   ifconfig <interface> mtu           <bytes>
  249.   ifconfig <interface> netmask       [0x]<hexmask>
  250.   ifconfig <interface> rxbuf         <buffer_size>
  251.  
  252.   inline     [on|off]
  253.  
  254.   ip address [<ip_address>]
  255.  
  256.   ip filter  <interface> delete
  257.   ip filter  <interface> list
  258.   ip filter  <interface> deny in|out <type> <source> <dest>
  259.   ip filter  <interface> permit in|out <type> <source> <dest>
  260.  
  261.   ip rtimer  [<seconds>]                                    {30}
  262.   ip status
  263.   ip ttl     [<hops>]                                       {64}
  264.  
  265.   isat       [on|off]                                      {off}
  266.  
  267. ________________________________________________________________
  268.  
  269.   kick       [<session_number>]
  270. ________________________________________________________________
  271.  
  272.   log        [<log_filename>|stop]
  273.  
  274. ________________________________________________________________
  275.  
  276.   mbox
  277.   mbox attend      [on|off]
  278.   mbox maxmsg      [<n>]                                   {200}
  279.   mbox motd        ["<string>"]
  280.   mbox status
  281.   mbox timer       [<seconds>]                               {0}
  282.   mbox tiptimeout  [<seconds>]                             {180}
  283.  
  284.   memory freelist
  285.   memory ifbufsize [<bytes>]                              {2048}
  286.   memory minheap   [<n>]
  287.   memory nibufs    [<n>]                                     {5}
  288.   memory sizes
  289.   memory status
  290.   memory thresh    [<bytes>]                              {8192}
  291.  
  292.   mkdir  <directory>
  293.  
  294.   more <filename>  [<filename> ...]               (q: quit)
  295.                                               (space: next page)
  296.                                               (ENTER: next line)
  297.   multitask [on|off]                                        {on}
  298.  
  299. ________________________________________________________________
  300.  
  301.   nntp addserver   <nntpserver_nodename> [<interval_in_seconds>]
  302.                          [<time_range>] [<group> [<group> ...]]
  303.  
  304.   nntp batch       [on|off <n>]
  305.   nntp directory   [spool|control <directory>]
  306.   nntp dropserver  <nntpserver_nodename>
  307.   nntp groups      [<newsgroup_name> ... ]
  308.   nntp kick        [<nntpserver_nodename>]
  309.   nntp listservers
  310.   nntp newgroups   [on|off]
  311.   nntp safety      [on|off]
  312.   nntp trace       [<n>]                n=0: no trace
  313.                                           1: serious errors
  314.                                           2: transient errors
  315.                                           3: session progress
  316.                                           4: received articles
  317.                                           5: errors
  318.                                           6:
  319.                                           7: max trace
  320.   nntp verbose     [on|off]
  321.  
  322. ________________________________________________________________
  323.  
  324.   param <interface>
  325.   param <interface> <param> [<param> ...]
  326.  
  327.   param <interface> 8|dtr [<n>]                    (n=0: DTR lo)
  328.                                                    (n=1: DTR hi)
  329.   param <interface> 9|rts [<n>]                    (n=0: RTS lo)
  330.                                                    (n=1: RTS hi)
  331.   param <interface> 10    [<speed>]
  332.   param <interface> up
  333.   param <interface> down
  334.   param <interface> blind
  335.  
  336.   ping  <nodename> [<length> [<milliseconds> [<incflag>]]]
  337.  
  338.   ppp <interface>
  339.  
  340.   ppp <interface> idle [<seconds> [exit|noexit]]        {noexit}
  341.  
  342.   ppp <interface> ipcp open active|passive
  343.   ppp <interface> ipcp timeout [<seconds>]
  344.   ppp <interface> ipcp try configure [<count>]
  345.   ppp <interface> ipcp try failure [<count>]
  346.   ppp <interface> ipcp try terminate [<count>]
  347.   ppp <interface> ipcp local|remote address
  348.                                   [<nodename>|allow [on|off]]
  349.   ppp <interface> ipcp local|remote compress [tcp <slots>
  350.                                   [<flag>|none|allow [on|off]]
  351.  
  352.   ppp <interface> lcp close
  353.   ppp <interface> lcp local|remote
  354.   ppp <interface> lcp local|remote accm
  355.                                   [<bitmap> | allow [on|off]]
  356.   ppp <interface> lcp local|remote authenticate
  357.                                   [pap|none|allow [on|off]]
  358.   ppp <interface> lcp local|remote compress address|control
  359.                                   [on|off|allow [on|off]]
  360.   ppp <interface> lcp local|remote compress protocol
  361.                                   [on|off|allow [on|off]]
  362.   ppp <interface> lcp local|remote default
  363.   ppp <interface> lcp local|remote magic [on|off|allow [on|off]]
  364.   ppp <interface> lcp local|remote mru  [<size>]|allow [on|off]]
  365.   ppp <interface> lcp open active|passive
  366.   ppp <interface> lcp timeout [<seconds>]
  367.   ppp <interface> lcp try configure [<count>]
  368.   ppp <interface> lcp try failure [<count>]
  369.   ppp <interface> lcp try terminate [<count>]
  370.  
  371.   ppp <interface> pap user [<username> [<password>]]
  372.  
  373.   ppp <interface> trace [<flags>]
  374.  
  375.   ps
  376.   pwd          [<directory>]
  377.  
  378. ________________________________________________________________
  379.  
  380.   record       [<filename>|off]                            {off}
  381.  
  382.   remote       [-p <port>] [-k <key>] [-a <kickaddr>] <nodename>
  383.                                              exit|reset|kick
  384.   remote       -s <key>
  385.  
  386.   rename       <old_filename> <new_filename>
  387.  
  388.   reset        [<session_number>]
  389.  
  390.   rip accept   <incoming_gateway_nodename>
  391.  
  392.   rip add      <destination_nodename> <secs> [<flags>]
  393.                                   flags=1: include route to self
  394.                                         2: split horizon
  395.                                         4: triggered update
  396.  
  397.   rip drop     <destination_nodename>
  398.   rip merge    [on|off]                                    {off}
  399.   rip refuse   <incoming_gateway_nodename>
  400.   rip request  <incoming_gateway_nodename>
  401.   rip status
  402.   rip trace    [<n>]                           n=0: no trace
  403.                                                  1: changes only
  404.                                                  2: full trace
  405.  
  406.   rlogin       <nodename>                       ~d: download
  407.                                                 ~u: upload
  408.   rmdir        <directory>
  409.  
  410.   route
  411.   route add        <target_nodename>[/<bits>] | default 
  412.                        <interface> [gateway_nodename [<metric>]]
  413.  
  414.   route addprivate <target_nodename>[/<bits>] | default 
  415.                        <interface> [gateway_nodename [<metric>]]
  416.  
  417.   route drop       <target_nodename>[/<bits>]
  418.   route flush
  419.   route lookup     <target_nodename>
  420.  
  421.   rsh          <nodename> [<command>]
  422. ________________________________________________________________
  423.  
  424.   session
  425.   session         [<session_number>]
  426.  
  427.   shell
  428.  
  429.   smtp batch      [on|off]                                 {off}
  430.   smtp beep       [on|off]
  431.   smtp delay      [<n>] ??????????
  432.   smtp gateway    [<nodename>]
  433.   smtp kick
  434.   smtp kill       <job_number>
  435.   smtp list
  436.   smtp maxclients [<n>]                                     {10}
  437.   smtp mode       [queue|route]                          {route}
  438.   smtp separator  <string>                                {null}
  439.   smtp timer      [<seconds>]                                {0}
  440.   smtp trace      [<n>]                           n=0: trace off
  441.                                                     7: max trace
  442.   smtp verbose    [on|off]
  443.   smtp wait       [<seconds>]                               {20}
  444.  
  445.   socket    [<socket_number>]
  446.  
  447.   source    <script_filename>
  448.  
  449.   sourceb   <script_filename>
  450.  
  451.   start   discard|echo|finger|ftp|remote|rip|smtp|telnet|
  452.                                                     time|ttylink
  453.  
  454.   start   tip <interface> 
  455.  
  456.   stop    discard|echo|finger|ftp|remote|rip|smtp|telnet|
  457.                                                     time|ttylink
  458.  
  459.   stop    tip  <interface>
  460.  
  461. ________________________________________________________________
  462.  
  463.   tcp irtt      [<millisecs>]                             {5000}
  464.   tcp kick      <&TCB>
  465.   tcp mss       [<bytes>]                                  {512}
  466.   tcp reset     <&TCB>
  467.   tcp rtt       <&TCB> <millisecs>
  468.   tcp status    [<&TCB>]
  469.   tcp syndata   [on|off]                                   {off}
  470.   tcp trace     [on|off]                                   {off}
  471.   tcp window    [<bytes>]                                 {2048}
  472.  
  473.   telnet <nodename> [<well_known_port_number>]              {23}
  474.   telnet <nodename> 25                       (SMTP)
  475.   telnet <nodename> 87                       (CHAT/TTYLINK)
  476.   telnet <my_hostname> | <my_ip_address>     (Built-in KA9Q BBS)
  477.           (see the end of this file for details of
  478.            the built-in KA9Q BBS Commands)
  479.  
  480.  
  481.   test
  482.  
  483.   time   auto       [on|off]
  484.   time   delay      [<seconds>]
  485.   time   maxcorrect [<seconds>]
  486.   time   mincorrect [<seconds>]
  487.   time   read
  488.   time   server     [<time_server_nodename>]
  489.   time   set
  490.  
  491.   tip       <async_interface>
  492.  
  493.   trace
  494.   trace   <interface> [<BTIO_flags> [<trace_filename>]]
  495.  
  496.        BTIO_flags:
  497.  
  498.          B=0   Broadcast filter off (trace all packets)
  499.          B=1   Broadcast filter on  (ignore broadcasts)
  500.  
  501.          T=0   Display protocol headers only
  502.          T=1   Display headers + ASCII text
  503.          T=2   Display headers + ASCII text + hex
  504.  
  505.          I=0   Ignore input packets
  506.          I=1   Trace input packets
  507.  
  508.          O=0   Ignore output packets
  509.          O=1   Trace output packets
  510.  
  511. ________________________________________________________________
  512.  
  513.   udp      status
  514.  
  515.   upload
  516.   upload   <filename>
  517.  
  518. ________________________________________________________________
  519.  
  520.   watch    [on|off]                                        {off}
  521.  
  522. ________________________________________________________________
  523.  
  524.  
  525.  
  526. NET STARTUP OPTIONS
  527. ===================
  528.   NET [-b]                             (console BIOS)
  529.       [-d <root_directory>]
  530.       [-m <heap_memory_in_KB>]
  531.       [-s <socket_array_size>]
  532.       [-v]
  533.       [ <net_autoexec_filename> ]
  534.  
  535.  
  536.  
  537. WELL-KNOWN PORT NUMBERS
  538. =======================
  539.     0  reserved     23  TELNET          79  FINGER
  540.   1-4  unassigned   25  SMTP            87  TTYLINK
  541.     5  RJE          37  TIME            95  SUPDUP
  542.     7  ECHO         39  RLP            101  HOSTNAME
  543.     9  DISCARD      42  NAMESERVER     102  ISO-TSAP
  544.    11  USERS        43  NICNAME        109  POP-2
  545.    13  DAYTIME      53  DOMAIN         113  AUTH
  546.    15  NETSTAT      67  BOOTPS         117  UUCP-PATH
  547.    17  QUOTE        68  BOOTPC         119  NNTP
  548.    19  CHARGEN      69  TFTP           513  RLOGIN
  549.    20  FTP-data     75  private dialout
  550.    21  FTP          77  private rje
  551.  
  552.  
  553.   Built-In KA9Q BBS Commands
  554.   --------------------------
  555.   Accessible via 'telnet <my_hostname>' 
  556.               or 'telnet <my_ip_address>'
  557.  
  558.   N.B. ~/ftpusers must contain a suitable entry allowing
  559.        access, and the Telnet server must be started with
  560.        'start telnet'.
  561.  
  562.     Help      ? (command list)
  563.     Area      A [<area_name>]
  564.     Bye       B
  565.     Chat      C
  566.     Download  D <filename>               (ASCII file)
  567.               DU <filename>              (uuencoded binary file)
  568.     Escape    E [<esc_char>]                                {^X}
  569.     Finger    F [<finger_filename>][@<nodename>]
  570.     Help      H [<command_name>]
  571.     Info      I
  572.     Kill      K <n> ...
  573.     List      L [<n> ...]
  574.     Read      R <n> ...
  575.  
  576.     Send      S <username>  [%<nodename>][@<nodename>]
  577.                    [< <from_addr>] [$<bulletin_id>]
  578.  
  579.     Forward   SF <username> [%<nodename>][@<nodename>]
  580.                    [< <from_addr>] [$<bulletin_id>]
  581.  
  582.     Reply     SR [<n>]
  583.  
  584.     Telnet    T <nodename> [well_known_port_number>]       {23}
  585.     Upload    U <filename>
  586.     Verbose   V <n> ...
  587.     What      W [<directory>]
  588.     Zap       Z <filename>
  589.     Sysop     @
  590.